
// 表格的每列配置   后续需要可继续在这添加
import { minWidth } from '@/utils/width/columns'

export const columnsStatic = [
  { slot: 'id', label: '渠道ID', align: 'center' },
  { slot: 'link', label: '复制链接', align: 'center', width: 'auto' },
  { slot: 'library', label: '推广短剧', align: 'center', width: 'auto' },
  { slot: 'clickNumber', label: '推广点击数', align: 'center', width: 'auto' },
  { slot: 'userNumber', label: '用户数', align: 'center', width: 'auto' },
  { slot: 'followNumber', label: '关注数', align: 'center', width: 'auto' },
  { slot: 'orderNumber', label: '总订单数', align: 'center', width: 'auto' },
  { slot: 'platformBackNumber', label: '平台回传数', align: 'center', width: 'auto' },
  { slot: 'realityBackNumber', label: '实际回传数', align: 'center', width: 'auto' },
  { slot: 'consumeCost', label: '消耗成本', align: 'center', width: 'auto' },
  { slot: 'launchPlatform', label: '投放平台', align: 'center', width: 'auto' },
  { slot: 'admin_username', label: '操作人', align: 'center', width: 'auto' },
  { slot: 'action' }
]

export const columnsSelectLibrary = [
  { slot: 'radio', label: '', align: 'center', width: minWidth },
  { prop: 'library_id', label: '短剧ID', align: 'center', width: minWidth },
  { prop: 'title', label: '短剧名', align: 'center', width: 'auto' },
  { slot: 'cover', label: '封面', align: 'center', width: 'auto' }
]

export const columnsSelectMp = [
  { slot: 'radio', align: 'center', width: minWidth },
  { prop: 'product_id', label: '小程序ID', align: 'center' },
  { prop: 'product_name', label: '小程序名称', align: 'center' }
]

export const columnsSelectTemplate = [
  { slot: 'radio', label: '', align: 'center', width: minWidth },
  { prop: 'id', label: '模板Id', align: 'center' },
  { prop: 'name', label: '充值模板名称', align: 'center' },
  { slot: 'template_type_text', label: '充值类型', align: 'center' },
  { prop: 'created_at', label: '创建时间', align: 'center' }
]

export const columnsSelectPostBack = [
  { slot: 'radio', label: '', align: 'center', width: minWidth },
  { prop: 'id', label: '回传Id', align: 'center' },
  { prop: 'name', label: '规则名称', align: 'center' },
  { slot: 'adv_report_type', label: '回传方式', align: 'center' },
  { prop: 'created_at', label: '创建时间', align: 'center' }
]
